AT+CLCK can be used to lock, unlock or interrogate a network or ME
<facility>. The command can be aborted when network facilities are being set or interrogated.
|
|
|
|
|
if <mode> is not equal 2 and command successful:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GSM 07.07, GSM 02.04, GSM 02.88, GSM 03.88, GSM 04.88
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Phone locked to SIM card. ME requests password when other than current SIM card is inserted.
"PS" lock is frequently referred to as "phone lock", or "device lock". Accordingly, the password may be called "phone code" or "device code". The "PS" password is not associated with the PUK of the SIM card. If incorrectly entered three times, the Master Phone Code is required to lift the lock. This is an 8-digit device code associated to the IMEI number of the mobile which can only be obtained from the manufacturer of the module. Once the Master Phone Code has been acctepted, the mobile is operational, and the "PS" lock is no longer active. If needed it must be set once again.
<password>: User defined password. It is needed before the first use of
<facility> "PS" and, therefore, must first be specified with
AT+CPWD or
AT^SPWD, if it has not been predefined by factory settings. If set by factory (e.g. for a prepaid mobile), the password is supplied by the provider or operator.
|
•
|
Access to defined Supplementary Services such as Call barring, Call waiting, Call forwarding, Call hold and Multiparty is possible only if the exact corresponding dialing numbers of the public MMI *# code (followed by the dialing number) for the desired service is stored in the "FD" phonebook and used with ATD. Using Supplementary Services ATD*#code without dialing number is possible. AT commands for supplementary service control are barred while "FD" lock is active. Indication is ''+CME Error 257: Call barred''.
|
Typical examples of factory set SIM locks are prepaid phones or network locks, used to restrict the operation of a mobile to a specific provider or operator. The client should be aware that each of these lock types can only be unlocked if the associated password is available. For example, a mobile can be locked to accept only SIM cards from the respective provider, or even one single SIM card. Once a different SIM card is inserted the ME will prompt the client to enter a specific code. This is not the PUK of the SIM card, but usually an 8-digit code which needs to be requested from the provider.
The locks can only be set by the manufacturer and need to be agreed upon between the parties concerned, e.g. provider, operator, distributor etc. on the one side and the manufacturer on the other side. For details contact your local dealer or Siemens AG.
Parameter
<class> is not applicable to SIM locks.
<password> and instructions for unlocking must be obtained from the network provider.
Supplementary Service "Call Barring" allows to specify conditions under which calls will be disallowed by the network.
The availability of the Supplementary Services varies with the network. To benefit from call barring the client will need to subscribe them, though a limited number of call barring types may be included in the basic tariff package.
When you attempt to set a
<facility> or
<class> which is not provisioned, not yet subscribed to, or not supported by the module, the setting will not take effect regardless of the response returned. The responses in these cases vary with the network (for example "OK", "+CME ERROR: Operation not allowed", "+CME ERROR: Operation not supported" etc.). To make sure check the extended error response with
AT+CEER and the lock status with
<mode>=2.
<password>: Network password supplied from the provider or operator. Usually there is one password which applies to all call barring options. For details contact your provider.
class 2 ("data") comprises all those individual data classes between 16 and 128, that are supported both by the network and the MS. This means, a setting made for class 2 applies to all individual data classes (if supported). In addition, you can assign a different setting to a specific class. For example, you can activate Call Forwarding for all data classes, but deactivate it for data class 64, "dedicated packet access".
combination of some of the above classes.For example, the default setting 7 represents the sum of the integers 1, 2 and 4 (voice, data and fax).
The value 255 covers all classes.
If parameter "class" is omitted, the default value 7 is used.
|
•
|
The AT+CLCK command offers the full range of <class> parameters according to the GSM specifications. However, when you attempt to use a service option which is not provisioned or not yet subscribed to, the setting will not take effect regardless of the response returned. The responses in these cases vary with the network (for example "OK", "Operation not allowed", "Operation not supported" etc.). To make sure check the extended error response with AT+CEER and the lock status with <mode>=2.
|
|
•
|
If an invalid <password> is entered several times in succession, a delay incremented after each failed attempt will increase the time to wait before the input of the <password> is accepted. To avoid blocking the serial interface the running AT+CLCK command is aborted after a short timeout and returns CME ERROR 100 ("unknown"). If then the AT+CLCK command is issued once again execution is denied with CME ERROR 256 ("Operation temporary not allowed"). For details regarding the delay see Section 5.1.1, What to do if PIN or password authentication fails?.
|